﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace Generic.Contract
{
    public abstract class FilterEntity : EntityBase
    {
        #region Atributo
        private int? _Codigo;
        public short Rel { get; set; }
        #endregion

        #region Propriedade
        public int? Codigo
        {
            get { return _Codigo; }
            set
            {
                if (this._Codigo != value)
                {
                    this.SendPropertyChanging();
                    _Codigo = value;
                    this.SendPropertyChanged("Codigo");
                }
            }
        }
        #endregion

        #region INotifyPropertyChanging Members

        protected override void SendPropertyChanging()
        {
            base.SendPropertyChanging();
        }

        #endregion

        #region INotifyPropertyChanged Members

        protected override void SendPropertyChanged(String propertyName)
        {
            base.SendPropertyChanged(propertyName);
        }

        #endregion

    }
}
